package com.finstone.data.spider;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.finstone.data.spider.eshop.service.EShopConvertService;

public class SpiderCvtStarter {

	@SuppressWarnings("resource")
	public static void main(String[] args) {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/spring/applicationContext.xml",
				"classpath:/spring/applicationContext-*.xml");

		EShopConvertService convertService = applicationContext.getBean(EShopConvertService.class);

		convertService.doConvert();
	}
}
